package com.woniuxy;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author 罗蔚
 * @Date 2022/3/23 17:49
 * @Description TODO
 */
public class TestSpringFirst {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        Person person = applicationContext.getBean("chinese", Person.class);
        person.show();
        System.out.println(person);
    }
}
